<?php if(!defined("PATH_HD"))exit;?>
<?php if(!defined("PATH_HD"))exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>        
        <title>欢迎使用  后盾HD框架安装配置</title>
        <meta http-equiv="content-type" content="text/htm;charset=utf-8"/>  
        <link href='http://localhost/cms/setup/tpl/state/css/setup.css' rel='stylesheet' type='text/css'/>
        <script type='text/javascript' src='http://localhost/cms/hdphp/org/jquery_1.7.1.min.js'></script>
<script type='text/javascript' src='http://localhost/cms/hdphp/org/hdjs/dialog.js'></script>
<link  rel='stylesheet' type='text/css' href='http://localhost/cms/hdphp/org/hdjs/css/dialog.css'/>
    </head>

<div class="hd_setup">
    <strong>欢迎使用后盾HD框架，通过HD框架手册或登录<a href="http://bbs.houdunwang.com/">后盾论坛</a>学习使用HD框架安装配置</strong>
    <h2>
        <a href="http://localhost/cms/setup/index.php">返回安装首页</a>&nbsp;&nbsp;&nbsp;
        <a href="http://localhost/cms/setup/index.php/rbac/addrole" target="_self">添加角色</a>&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="window.close();return false;">关闭</a>&nbsp;<a href="http://localhost/cms/setup/index.php/rbac/lock" >锁定SETUP应用</a>
    </h2>
</div>
<form method="post" name="form1" action="http://localhost/cms/setup/index.php/rbac/addentrance">
    <div class="setup">
        <dl>
            <dt>用户角色（用户组）</dt>
            <dd>
                <table>
                    <tr>
                        <td width="50">角色(组)ID</td>
<!--                        <td width="100">父级ID</td>-->
                        <td width="100">角色名称</td>
                        <td width="200">是否开启角色</td>
                        <td width="200">角色描述</td>
                        <td width="300">操作</td>
                    </tr>
                    <?php if(!empty($row)){$listCount = count($row);$list_id1=0;?><?php foreach($row as $key=>$v){?><?php $list_id1+=1;?>
                    <tr>
                        <td width="50"><?php echo $v['rid'];?></td>
                      <!--  <td width="100"><?php echo $v['pid'];?></td>-->
                        <td width="100"><?php echo $v['rname'];?></td>
                        <td width="200"><?php echo $v['state'];?></td>
                        <td width="200"><?php echo $v['title'];?></td>
                        <td width="360">
                            <a href="http://localhost/cms/setup/index.php/rbac/delrole/rid/<?php echo $v['rid'];?>">删除</a>&nbsp;&nbsp;&nbsp;
                            <a href="http://localhost/cms/setup/index.php/rbac/setaccess/rid/<?php echo $v['rid'];?>">配置权限</a>
                        </td>
                    </tr>
                    <?php }?><?php }?>
                    <tr>
                        <td colspanb="6">
                            <input type="submit" value="确认" class="query" name="submit"/>
                        </td>
                    </tr>
                </table>
            </dd>
        </dl>
    </div>
</form>
</body>
</html>
